<template>
    <div class="content">
        <h1>用户隐私政策</h1>
        <div v-html="dataInfo.privacyPolicy"></div>
    </div>
</template>
<script setup lang="ts">
import { LoginMethod } from '@/api/LoginMethod'

const dataInfo = ref<any>({})
const getData = async () => {
    const res = await LoginMethod.privacyPolicy()
    dataInfo.value = JSON.parse(res.data.configJson).registerConfig
}
onMounted(() => {
    getData();
})
</script>
<style lang="scss" scoped>
.content {
    padding: 15px;
    min-height: calc(100vh - 30px);
}

h1 {
    font-size: 24px;
    text-align: center;
}
</style>